
import type { RouteObject } from 'react-router-dom'

export type MyRouteObject = RouteObject & {  
  // 菜单标题
  title?: string
  // 菜单的图标
  icon?: React.ReactNode
  children?: MyRouteObject[]
  // 是否显示在导航菜单中
  inMenu?: boolean,
  redirect?: string
};  